package main.java.com.example.demo.mapper;

import com.example.demo.pojo.Order;
import com.example.demo.vo.OrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OrderMapper {
    List<Order> findOrder(Order order);

    void insertOrder(Order order);

    List<OrderVo> findAllOrder();
}
